@extends('home.layout.demo')
<center>
	<div style="margin-top:90px;color:#f39;">搜索结果</div>
	</center>
	<div style="margin-left:20px;color:#f39;">
		<span><a href="/order/day" style="margin-left:4px;color:#f39;">日排行</a></span>&nbsp;
		<span><a href="/order/week" style="margin-left:4px;color:#f39;">周排行</a></span>&nbsp;
		<span><a href="/order/month" style="margin-left:4px;color:#f39;">月排行</a></span>
		<span><a href="/order/season" style="margin-left:4px;color:#f39;">季排行</a></span>&nbsp;
		<span><a href="/order/year" style="margin-left:4px;color:#f39;">年排行</a></span>
	</div>
	<div style="margin-bottom:100px;height:350px;">
		@if($num != 0)
			
		 @foreach($order as $k=>$v)
		<div class="moco-course-wrap  course-card-container" style="height:160px;margin-left:12px;margin-top:20px;">
		
		  <a href="/play/index?vid={{$v->id}}">
		      <div class="moco-course-box">
		      	@if($v->vips !='')
		      	<img style="position:absolute;width:20px;height:10px;" src="{{asset('homeCSS\img\QQ截图20170408154156.png')}}" alt="">
		      	@endif
		          <img width="100%" src="{{$v->url}}" alt="">
		          <div class="moco-course-intro" style="margin-top:60px;background:rgba(0,0,0,0.2)">
		             <p style="font-size:13px;color:white;">电影介绍内容</p>
		          </div>
		          <div class="moco-course-bottom" style="height:51px" >
		            <span  style="height:20px;line-height:20px;font-size:15px;margin-top:2px;color:#4f5050;">电影名称</span>
		            <span  style="height:20px;line-height:20px;font-size:15px;margin-top:2px;margin-left:40px;color:#4f5050;">{{$v->film}}</span>
		            <br><p style="width:200px;height:18px;line-height:18px;margin:-7px 0px;font-size:13px">播放{{$v->click}}<span style="margin-left:40px">评论{{$v->click}}</span></p>
		          </div>
		      </div>
		  </a>
		  <!-- 判断失效,待处理 -->
		</div>
		@endforeach
		@else
		 <center>
		 	<table>
		 		<tr>
		 			<td align="center">暂无数据</td>
		 		</tr>
		 	</table>
		 </center>
		@endif

		<!-- 加判断,在没有搜索结果时显示提示 -->
	</div>

